//
//  UICustomTabbar.h
//  WorkFrame
//
//  Created by tiannu on 15/11/7.
//  Copyright (c) 2015年 tiannu. All rights reserved.
//

#import <UIKit/UIKit.h>

@class UICustomTabbar;

@protocol UICustomTabbarDelegate <NSObject>

@optional
- (void)tabBar:(UICustomTabbar *)tabBar didSelectItemAtIndex:(NSInteger)index;

@end

@interface UICustomTabbar : UIView

@property (nonatomic, assign) id<UICustomTabbarDelegate> delegate;
@property (nonatomic, assign) NSInteger selectedIndex;

@property (nonatomic, assign) NSInteger counts;
@property (nonatomic, strong) NSArray *titles;
@property (nonatomic, strong) NSArray *normalImages;
@property (nonatomic, strong) NSArray *selectedImages;
@property (nonatomic, strong) NSArray *normalBackgroundImages;
@property (nonatomic, strong) NSArray *selectedBackgroundImages;
@property (nonatomic, strong) UIColor *textNormalColor;
@property (nonatomic, strong) UIColor *textSelectedColor;

+ (UICustomTabbar *)customTabbar;

@end
